// buffer与字符串的转换
let buf_4 = Buffer.from([105, 108, 111, 118, 101, 121, 111, 117]);

// 默认使用utf-8编码格式进行转换
console.log(buf_4.toString()); // iloveyou


